@import "bootstrap/bootstrap.less";

#admin-control{
	padding-left: 20px;
	.admin_control_header{
		border-bottom: solid 1px #efefef;
		color: #999;
		font-size: 20px;
		font-weight: bold;
		line-height: 25px;
		margin-top: 10px;
		margin-bottom: 15px;
		.admin_control_notice{
			color: #f90;
			font-size: 12px;
			font-weight: normal;
			font-style: italic;
		}
	}
	.admin_control_row{
		margin: 10px 0;
		.admin_control_label{
			display: inline-block;
			width: 200px;
			text-align: right;
			font-weight: bold;
		}
		.label-top{
			vertical-align: top;
		}
		.admin_control_element{
			display: inline-block;
			position: relative;
			.element-main{
				display: inline-block;
				input[type='text'], .btn-group.bootstrap-select{
					min-width: 200px;
					max-width: 200px;
				}
				textarea{
					min-width: 500px;
					max-width: 500px;
				}
				select.form-control{
					width: 200px;
				}
				.element-images{
					border: 1px solid #CCC;
					.border-radius(4px);
					background-color: #fdfdfd;
					color: #999;
					text-align: center;
					max-height: 450px;
					width: 370px;
					padding: 5px;
					.images-tip{
						color: white;
						background-color: #357696;
						.border-radius(4px);
						padding: 5px;
						font-size: 13px;
					}
					.row-3-image{
						width: 100%;
						height: 110px;
						margin-top: 10px;
						clear: both;
						.one-image{
							position: relative;
							height: 110px;
							width: 112px;
							float: left;
							margin-right: 3px;
							margin-left: 3px;
							float: left;
							border: 1px solid #CCC;
							.border-radius(4px);
							&:hover{
								background-color: #efefef;
							}
							input[type="file"]{
								position: absolute;
								opacity: 0;
								width: 112px;
								height: 110px;
								cursor: pointer;
								z-index: 10;

							}
							.image-upload{
								position: absolute;
								z-index: 1;
								background: url("/theme/Default/img/icon-image.png") no-repeat -198px -2px;
								width: 57px;
								height: 47px;
								margin-top: -24px;
								margin-left: -28px;
								top: 50%;
								left: 50%;
								span{
									position: absolute;
									display: block;
									top: 50px;
									width: 70px;
									left: -6px;
								}
							}
							.image-up-success{
								position: absolute;
								z-index: 11;
								img{
									width: 110px;
									height: 110px;
								}
								.remove-image{
									background: url("/theme/Default/img/icon-image.png") no-repeat -218px -51px;
									width: 13px;
									height: 13px;
									position: absolute;
									top: 0;
									left: 0;
								}
							}
						}
					}
				}
			}
			.element-inline{
				display: inline-block;
				color: red;
				&.color-defaul{
					color: #000;
				}
			}
			.category_group_warntip{
				display: inline-block;
				left: 204px;
				position: absolute;
				top: 0px;
				width: 400px;
				&.warn-price, &.warn-time{
					left: 370px;
				}
				&.warn-image{
					left: 370px;
					top: 80px;
				}
				.warntip_triangle {
					border-color: #fff #FF9900 #fff #FFFFFF;
					border-style: solid;
					border-width: 8px;
					font-size: 4px;
					height: 0;
					padding: 0;
					width: 0;
					display: inline-block;
				}
				.warntip_content {
					border: solid 1px #f90;
					border-radius: 3px 3px 3px 3px;
					display: inline-block;
					background: #f90;
					padding: 7px 10px;
					margin: 0 0 0 -4px;
					max-width: 263px;
					color: white;
				}
			}
		}
		
	}
}